//
//  PickNumSportItemZJQCell.m
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-10-29.
//
//

#import "JddPickNumSportItemZJQCell.h"

@implementation JddPickNumSportItemZJQCell
GET_INSTANCE_VIEW_IMPLEMENT(JddPickNumSportItemZJQCell)

-(IBAction)buttonClicked:(id)sender{
    UIButton *btn = (UIButton *)sender;
    NSString *tag = [NSString stringWithFormat:@"%d", btn.tag];
    self.aSportNumber.teamArray= [[NSMutableArray alloc] initWithObjects:tag, nil];
    [self.delegate performSelector:@selector(sportTeamButtonClicked:number:) withObject:(id)sender withObject:self.aSportNumber];
}
-(void)awakeFromNib
{
    self.btn1.layer.borderColor = BORDER_COLOR;
    self.btn1.layer.borderWidth = 0.5;
    
    self.btn2.layer.borderColor = BORDER_COLOR;
    self.btn2.layer.borderWidth = 0.5;

    self.btn3.layer.borderColor = BORDER_COLOR;
    self.btn3.layer.borderWidth = 0.5;

    self.btn4.layer.borderColor = BORDER_COLOR;
    self.btn4.layer.borderWidth = 0.5;

    self.btn5.layer.borderColor = BORDER_COLOR;
    self.btn5.layer.borderWidth = 0.5;

    self.btn6.layer.borderColor = BORDER_COLOR;
    self.btn6.layer.borderWidth = 0.5;

    self.btn7.layer.borderColor = BORDER_COLOR;
    self.btn7.layer.borderWidth = 0.5;
    
    self.btn8.layer.borderColor = BORDER_COLOR;
    self.btn8.layer.borderWidth = 0.5;
}
@end
